4. Injections For dogs prone to heartworm disease, a veterinarian may recommend an injectable medication that provides long-term protection against this potentially fatal parasite.